
    <div class="col-sm-3 col-md-2 sidebar">
      <ul class="nav nav-sidebar">

        <li class="active"><a href="/console/manage/query">查询数据<span class="sr-only">(current)</span></a></li>
        <li><a href="/console/manage/cmd">实时监控</a></li>
          <li><a href="/console/manage/history_state">历史状态</a></li>

        <li><a href="/console/manage/analysis">数据分析</a></li>
          <li><a href="/console/manage/diagnose">故障诊断</a></li>
      </ul>
    </div>

    <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
        <h1 class="page-header">实时数据</h1>
        <form class="form-horizontal" method="post" action="/console/manage/query">
            {% csrf_token %}
          <div class="form-group">
            <label for="inputStartTime" class="col-sm-1 col-sm-offset-3 control-label">起始时间</label>
            <div class="col-sm-4">
              <input type="datetime-local" class="form-control" id="inputStartTime" name="inputStartTime" >
            <span id="helpBlock" class="help-block">输入格式:年-月-日T时:分 例如：2017-02-04T00:00</span>
            </div>
          </div>
          <div class="form-group">
            <label for="inputEndTime" class="col-sm-1 col-sm-offset-3 control-label">终止时间</label>
            <div class="col-sm-4">
              <input type="datetime-local" class="form-control" id="inputEndTime" name="inputEndTime">
                <span id="helpBlock" class="help-block">输入格式:年-月-日T时:分 例如：2017-02-04T00:00 </span>
            </div>
          </div>
          <div class="form-group">
            <div class="col-sm-offset-4 col-sm-3">
              <button type="submit" class="btn btn-primary btn-block">查询</button>
            </div>
          </div>
        </form>
    </div>